package com.small.nacos.core.distributed.distro.task.execute;

import com.small.nacos.common.task.AbstractExecuteTask;
import com.small.nacos.core.distributed.distro.entity.DistroKey;

/**
 * @Author zhoujin
 * @Date 2022/11/13 15:59
 */
public abstract class AbstractDistroExecuteTask extends AbstractExecuteTask {

    private final DistroKey distroKey;

    protected AbstractDistroExecuteTask(DistroKey distroKey) {
        this.distroKey = distroKey;
    }

    protected DistroKey getDistroKey() {
        return distroKey;
    }
}
